/* 
This file contains the styles for the accounting term matching game, including the layout of the game grid, cell styles, and matched cell styles.
*/

body {
    font-family: Arial, sans-serif;
    background-color: #f9f9f9;
    margin: 0;
    padding: 20px;
}

h2 {
    text-align: center;
    color: #333;
}

#game {
    display: grid;
    gap: 2px;
    padding: 20px;
}

.cell {
    border: 1px solid #ccc;
    text-align: center;
    cursor: pointer;
    background-color: #f0f8ff;
    user-select: none;
    transition: background-color 0.3s;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    padding: 5px;
    box-sizing: border-box;
    word-wrap: break-word;
    line-height: 1;
}

.cell:hover {
    background-color: #e0f7fa;
}

.matched {
    background-color: #90EE90 !important;
    color: transparent;
}